package com.lbg.drug.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lbg
 * @since 2022-04-26
 */
@TableName("deliver")
public class  Deliver implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;



    /**
     * 药品id
     */
    @TableField("drug_id")
    private String drugId;

    /**
     * 入库数量
     */
    @TableField("deliver_amount")
    private String deliverAmount;

    /**
     * 入库时间
     */
    @TableField("deliver_time")
    private Date deliverTime;

    @TableField("user_name")
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @TableField(exist = false)
    private String drugTradeName;

    public String getDrugTradeName() {
        return drugTradeName;
    }

    public void setDrugTradeName(String drugTradeName) {
        this.drugTradeName = drugTradeName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getDrugId() {
        return drugId;
    }

    public void setDrugId(String drugId) {
        this.drugId = drugId;
    }

    public String getDeliverAmount() {
        return deliverAmount;
    }

    public void setDeliverAmount(String deliverAmount) {
        this.deliverAmount = deliverAmount;
    }

    public Date getDeliverTime() {
        return deliverTime;
    }

    public void setDeliverTime(Date deliverTime) {
        this.deliverTime = deliverTime;
    }
}


